{extend name="public/base" /}
{block name="pjax_container"}
<?php
    $titleTypeName = '奖扣配置详情';
?>
<style>

.content-header>.breadcrumb>li{
    color: #999;
}
.content-header>.breadcrumb>.active{
    color: #666;
}
.content-header{
    height: 51px;
 
}
.btn-primary{
      background-color: #1890FF;
    color: #fff;
    border: none;
    border-radius: 6px !important;
    margin-left: 15px;
    padding: 5px 10px; 
}
.box-primary{
  border-top-color: #ecf0f5 !important;
  border-top-width: 16px;
  
}
.btn-primary:hover{
     background-color: #1890FF;
    color: #fff;
    border: none;
    opacity: .9;
    border-radius: 6px !important; 
}
.delete-one{
    background-color: ff4141 !important;
    margin-left: 15px;
    border-radius: 6px;
}
.sreachs{
       background-color: #1890FF;
    color: #fff;
    border: none;
    border-radius: 6px !important;
    margin-left: 15px;
    padding: 7px 15px; 
}
</style>
<section class="content-header">
    <ol class="breadcrumb">
       <li>首页</li>
     <li>奖扣任务</li>
        <li class="active">{$titleTypeName}</li>
    </ol>
</section>
<style>
    .form-group{
        display: inline-block;
        
    }
    

.content-header{
    margin-top: 8px;
}

    .content-header{
        background-color: #fff !important;
        height: 50px;
        line-height: 50px;
    }
 .content-header>h4{
     width: 200px;
     height: 100%;
     margin-top: 0;
 }
    .tab-content{
     border: 1px solid #ccc;
      
        margin-top: 15px;
        border-radius: 5px;
         color: rgba(0, 0, 0, 0.65);
    }

    .tab-content>h3{
        font-size: 14px;
    }
 .width_25{
width: 24.7%;
 height: 90%;

 margin-left: 0 !important;
margin-right:0 !important;
border-bottom: 1px solid #ccc;

 }

  .width_25>div{
      width: 80%;
      height: 100%;
      
  }

.width_25>div>div:nth-child(1):before{
      display: inline-block;
    content: '';
    width: 11px;
    height: 11px;
    background-color: #1890FF;
    position: absolute;
    left: 13px;
    top: 8px;
}
.echarts_style>div>div:nth-child(1):before{
      display: inline-block;
    content: '';
    width: 11px;
    height: 11px;
    background-color: #1890FF;
    position: absolute;
    left: 13px;
    top: 8px;
}
.echarts_style{
    width: 24.7%;
 height: 90%;

 margin-left: 0 !important;
margin-right:0 !important;
}


.echarts_style>div{
      width: 80%;
      height: 100%;
}
.echarts_style>div>div{
     height: 27px;
    width: 100%;
 padding-left: 40px;
    line-height: 27px;
    white-space: nowrap;
}
 .width_25>div>div{
    height: 27px;
    width: 100%;
 padding-left: 40px;
    line-height: 27px;
    white-space: nowrap;
 }
 .content{
     margin-top: -10px;
 }
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/4.2.1/echarts.min.js" integrity="sha256-XNiBJGZuErA+MsbKwxuTqNMimobZMsVS79SkTUroRz4=" crossorigin="anonymous"></script>


<section class="content">
    <div class="row">
        <div class="col-md-12" style="background-color: #ecf0f5;"> 
            <form class="form-horizontal" method="POST" action="/{$Think.MODULE_NAME}/{$Think.CONTROLLER_NAME}/{$Think.ACTION_NAME}" onsubmit="return false" >
                <input type="hidden" name="id" value="{$info.id|default=0}" />
                <div class="nav-tabs-custom">
                  
                    <div class="tab-content">
                        <h3><span style="color: #666;">配置名称: </span> {$info.name}</h3>
                        <span style="display: block; margin: 50px 10px;"> <b class="glyphicon glyphicon-tags" style="color: #ffb812;margin-right: 8px; font-size: 14px;"></b>本月配置</span>
                        <div class="tab-pane active" style="height: 315px; width: 100%;" >
                            <div class="form-group width_25">
                                <div class="col-sm-7">
                                    {if condition="$info.is_integral eq 1"}
                                    <div class="col-sm-7">奖分任务</div>
                                    <div class="col-sm-7">奖分下限:{$info.integral_reward}</div>
                                    <div class="col-sm-7">奖扣周期:{if condition="$info.integral_type eq 0"}周任务{else:}月任务{/if}</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {else:}
                                    <div class="col-sm-7">奖分任务未设置</div>
                                    <div class="col-sm-7">奖分下限：0</div>
                                    <div class="col-sm-7">奖扣周期：周任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {/if}
                                </div>
                            </div>
                            <div class="form-group width_25">
                                <div class="col-sm-7">
                                    {if condition="$info.is_integral eq 1"}
                                    <div class="col-sm-7">扣分任务</div>
                                    <div class="col-sm-7">扣分下限:{$info.integral_deduct}</div>
                                    <div class="col-sm-7">奖扣周期:{if condition="$info.integral_type eq 0"}周任务{else:}月任务{/if}</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {else:}
                                    <div class="col-sm-7">扣分任务未设置</div>
                                    <div class="col-sm-7">扣分下限：0</div>
                                    <div class="col-sm-7">奖扣周期：周任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {/if}
                                </div>
                            </div>
                            <div class="form-group width_25">
                                <div class="col-sm-7">
                                    {if condition="$info.is_man eq 1"}
                                    <div class="col-sm-7">人次任务</div>
                                    <div class="col-sm-7">奖扣人次:{$info.integral_deduct}</div>
                                    <div class="col-sm-7">奖扣周期:{if condition="$info.man_type eq 0"}日任务{elseif condition="$info.man_type eq 1"}周任务{else:}月任务{/if}</div>
                                    <div class="col-sm-7">未完成扣分：{$info.man_deduct}</div>
                                    {else:}
                                    <div class="col-sm-7">人次任务未设置</div>
                                    <div class="col-sm-7">奖扣人次：0</div>
                                    <div class="col-sm-7">奖扣周期：周任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {/if}
                                </div>
                            </div>
                            <div class="form-group width_25">
                                <div class="col-sm-7">
                                    {if condition="$info.is_rate eq 1"}
                                    <div class="col-sm-7">奖扣比例任务</div>
                                    <div class="col-sm-7">奖扣比例:{$info.rate}</div>
                                    <div class="col-sm-7">奖扣周期:月任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {else:}
                                    <div class="col-sm-7">奖扣比例任务未设置</div>
                                    <div class="col-sm-7">奖扣比例：0</div>
                                    <div class="col-sm-7">奖扣周期：月任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {/if}
                                </div>
                            </div>
                        </div>



                            <span style="display: block; margin: 50px 10px;"> <b class="glyphicon glyphicon-tags"
                                    style="color: #ffb812;margin-right: 8px; font-size: 14px;"></b>下月配置</span>
                   
                        <div class="tab-pane active" style="height: 315px; width: 100%; ">
                            <div class="form-group echarts_style">
                                <div class="">
                                    {if condition="$info_a.is_integral eq 1"}
                                    <div class="col-sm-7">奖分任务</div>
                                    <div class="col-sm-7">奖分下限:{$info_a.integral_reward}</div>
                                    <div class="col-sm-7">奖扣周期:{if condition="$info_a.integral_type eq 0"}周任务{else:}月任务{/if}</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {else:}
                                    <div class="col-sm-7">奖分任务未设置</div>
                                    <div class="col-sm-7">奖分下限：0</div>
                                    <div class="col-sm-7">奖扣周期：周任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {/if}
                                </div>
                            </div>
                            <div class="form-group echarts_style">
                                <div class="">
                                    {if condition="$info_a.is_integral eq 1"}
                                    <div class="col-sm-7">扣分任务</div>
                                    <div class="col-sm-7">扣分下限:{$info_a.integral_deduct}</div>
                                    <div class="col-sm-7">奖扣周期:{if condition="$info_a.integral_type eq 0"}周任务{else:}月任务{/if}</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {else:}
                                    <div class="col-sm-7">扣分任务未设置</div>
                                    <div class="col-sm-7">扣分下限：0</div>
                                    <div class="col-sm-7">奖扣周期：周任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {/if}
                                </div>
                            </div>
                            <div class="form-group echarts_style">
                                <div class="">
                                    {if condition="$info_a.is_man eq 1"}
                                    <div class="col-sm-7">人次任务</div>
                                    <div class="col-sm-7">奖扣人次:{$info_a.integral_deduct}</div>
                                    <div class="col-sm-7">奖扣周期:{if condition="$info_a.man_type eq 0"}日任务{elseif condition="$info_a.man_type eq 1"}周任务{else:}月任务{/if}</div>
                                    <div class="col-sm-7">未完成扣分：{$info.man_deduct}</div>
                                    {else:}
                                    <div class="col-sm-7">人次任务未设置</div>
                                    <div class="col-sm-7">奖扣人次：0</div>
                                    <div class="col-sm-7">奖扣周期：周任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {/if}
                                </div>
                            </div>
                            <div class="form-group echarts_style">
                                <div class="">
                                    {if condition="$info_a.is_rate eq 1"}
                                    <div class="col-sm-7">奖扣比例任务</div>
                                    <div class="col-sm-7">奖扣比例:{$info_a.rate}</div>
                                    <div class="col-sm-7">奖扣周期:月任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {else:}
                                    <div class="col-sm-7">奖扣比例任务未设置</div>
                                    <div class="col-sm-7">奖扣比例：0</div>
                                    <div class="col-sm-7">奖扣周期：月任务</div>
                                    <div class="col-sm-7">未完成扣分：差额扣分</div>
                                    {/if}
                                </div>
                            </div>
                        </div>
                    </div>




                </div>
            </form>
        </div>
    </div>
</section>
<script type="application/javascript">
</script>
{/block}
